package de.tabuma.ssoweb.start.controller;

import de.tabuma.ssoweb.start.view.view;
import de.tabuma.lib.tabumacontroller;
import java.util.logging.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import de.tabuma.ssoweb.view.*;
import java.util.Hashtable;

/**
 *
 * @author $Author: alefen $
 * @version $Revision: 1.1 $
 * @since $Date: 2009/12/30 01:25:37 $
 */
public class controller extends tabumacontroller {

    private static Logger log =  Logger.getLogger(view.class.getName());

    public controller(String servlet, Hashtable parameter) {
        super(servlet, parameter);
    }

    public void navigate(ServletContext context, HttpServletRequest request, HttpServletResponse response,PrintWriter out) {
        try {
            view start = new view(this.getServlet(), this.getParameter());
            start.processRequest(context, request, response, out);
        }
        catch(Exception e) {
            log.warning(e.getMessage());
        }

    }

}
